package com.ruoyi.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户基本信息对象 my_user_info
 * 
 * @author zht
 * @date 2021-10-24
 */
public class MyUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String infoId;

    /** 学号/工号 */
    @Excel(name = "学号/工号")
    private String number;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 所在系 */
    @Excel(name = "所在系")
    private String faculty;

    /** 身份表示 1学生 2老师 3工作人员 4管理员 */
    @Excel(name = "身份表示 1学生 2老师 3工作人员 4管理员")
    private String identity;

    /** 用户ID */
    private Long userId;

    public void setInfoId(String infoId) 
    {
        this.infoId = infoId;
    }

    public String getInfoId() 
    {
        return infoId;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFaculty(String faculty) 
    {
        this.faculty = faculty;
    }

    public String getFaculty() 
    {
        return faculty;
    }
    public void setIdentity(String identity) 
    {
        this.identity = identity;
    }

    public String getIdentity() 
    {
        return identity;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("number", getNumber())
            .append("name", getName())
            .append("faculty", getFaculty())
            .append("identity", getIdentity())
            .append("userId", getUserId())
            .toString();
    }
}
